wayland: Postpone processing move_to_rect params until showing
authorJonas Ådahl <jadahl@gmail.com>
Mon, 8 Aug 2016 07:00:42 +0000 (15:00 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Aug 2016 08:52:03 +0000 (04:52 -0400)
commitcc019de6a5c77a7fc3a291de9f25659e76ac7e4f
treebc1fa15bc98b739f51ebaee5ea8c5b38b1a8e252
parentf6929cfef81171f1b59a3950e88e2ce5599d3286
wayland: Postpone processing move_to_rect params until showing

At the time of move_to_rect() is called, not all state may have been set
up on the impl gdk window, causing the position to sometimes be
slightly offset due to drap shadow margins. For now, work around this
by postponing the processing of the move_to_rect() parameters until
showing, when its more likely that all state (such as shadow margin)
has been set correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=769402
gdk/wayland/gdkwindow-wayland.c